package com.sdjz.club.club.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 *
 * </p>
 *
 * @author Dftre
 * @since 2022-07-15
 */
@Data
@Getter
@Setter
@TableName("user_organization")
public class UserOrganization implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id")
    private Long id;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 社团id
     */
    private Long organizationId;

    /**
     * 角色
     */
    private String role;


}
